package com.jlcloud.core.launch.constant;

/**
 * Token配置常量.
 *
 * @author By: JlCloud <br>
 * @Package: com.jlcloud <br>
 * @CreateTime: 2024-12-03 21:45 <br>
 * @Copyright: 2021 www.jilianjituan.com Inc. All rights reserved. <br>
 * @Caution 注意：本内容仅限于冀联人力集团内部传阅，禁止外泄以及用于其他的商业目的 <br>
 */
public interface TokenConstant {

	String AVATAR = "avatar";
	String BEARER = "bearer";
	String CRYPTO = "crypto";
	String AUTH_HEADER = "JlCloud-Auth";
	String SECURE_HEADER = "JlCloud-Requested-With";
	String SECURE_HEADER_VALUE = "JlCloudHttpRequest";
	String ACCESS_TOKEN = "access_token";
	String REFRESH_TOKEN = "refresh_token";
	String CLIENT_ACCESS_TOKEN = "client_access_token";
	String IMPLICIT_ACCESS_TOKEN = "implicit_access_token";
	String TOKEN_TYPE = "token_type";
	String EXPIRES_IN = "expires_in";
	String ACCOUNT = "account";
	String USER_NAME = "user_name";
	String NICK_NAME = "nick_name";
	String REAL_NAME = "real_name";
	String USER_ID = "user_id";
	String DEPT_ID = "dept_id";
	String POST_ID = "post_id";
	String ROLE_ID = "role_id";
	String ROLE_NAME = "role_name";
	String TENANT_ID = "tenant_id";
	String OAUTH_ID = "oauth_id";
	String CLIENT_ID = "client_id";
	String DETAIL = "detail";
	String LICENSE = "license";
	String LICENSE_NAME = "powered by JlCloud";
	String DEFAULT_AVATAR = "https://jlfiles.oss-cn-zhangjiakou.aliyuncs.com/jobslink-img/head.svg";
	Integer AUTH_LENGTH = 7;
	/**
	 * 企业ID
	 */
	String COMPANY_ID = "company_id";
	/**
	 * 企业名称
	 */
	String COMPANY_NAME = "company_name";
	/**
	 * 站点编号
	 */
	String STATION_ID = "station_id";
	String PLATFORM_ID = "platform_id";
	/**
	 * 平台编号
	 */
	String PLATFORM_NO = "platformNo";
	/**
	 * 请求HEADER中登录类型
	 */
	static String LOGIN_TYPE_HEADER_KEY = "Login-Type";
	/**
	 * 请求PARAM中登录类型
	 */
	static String LOGIN_TYPE_PARAM_KEY = "login_type";
	/**
	 * 企业用户登录类型
	 */
	static String LOGIN_TYPE_TENANT = "Type-T";
	/**
	 * 工作站用户登录类型
	 */
	static String LOGIN_TYPE_STATION = "Type-S";
	/**
	 * C端用户登录类型
	 */
	static String LOGIN_TYPE_USER = "Type-U";
}
